<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta charset="utf-8">
    <title><?php echo "$title$wtitle";?></title>
    <meta name="keywords" content="<?php echo $keywords?$keywords:"动一哈 运动 场馆 订票";?>">
    <meta name="description" content="<?php echo $description?$description:"动一哈是一个集场地预定，赛事订票，赛事报名，体育资讯播报于一体的电子体育平台。主题涵盖足球，篮球，羽毛球，高尔夫，骑马，游泳等主流体育项目。为热爱运动的你提供一个全方面完善的平台，满足高质量的健康生活。";?>">
	<link charset="utf-8" rel="stylesheet" href="<?php echo "$url$css";?>" />
	<link rel="shortcut icon" href="<?php echo "$url$ico";?>" type="image/x-icon" />
	<script src="<?php echo "$url$jq";?>"></script>
    <script src="<?php echo "$url$mjs";?>"></script>
    <script src="<?php echo "$url$js";?>"></script>
    <?php 
		if($id == 'index'){
			?>
            <link charset="utf-8" rel="stylesheet" href="/css/overlay-minimal.css" />
            <script src="<?php echo "$url$jqtool";?>"></script>
            <script src="<?php echo "$url$swf";?>"></script>
            <script src="<?php echo "$url$videojs";?>"></script>
            <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=o4AD6vqFSQmT84gOfOSrVGn9"></script>
            <?php
		}else if($id == 'map'){
			?>
            <link href="/map/css/bootstrap.min.css" rel="stylesheet">
    		<link href="/map/css/map.css" rel="stylesheet">
            <?php
		}
	?>
  </head>
<body>
	<div id="topheader">
    	<div id ="header">
            <a href="<?php echo $url."index.php/welcome";?>"><img src="<?php echo "$url";?>img/dong.png" id="logo"/></a>
            <ul id="menu">
            	<li><a href="<?php echo $url."index.php/welcome";?>"><span class="top">首页</span><span class="bottom">Home</span></a> <img src="<?php echo "$url";?>img/shu.png" /></li>
                <li><a href="<?php echo $url."index.php/welcome/reservation";?>"><span class="top">场馆预定</span><span class="bottom">Reservation</span></a><img src="<?php echo "$url";?>img/shu.png" /></li>
                <li><a href="<?php echo $url."index.php/welcome/register";?>"><span class="top">赛事与报名</span><span class="bottom">Register</span></a><img src="<?php echo "$url";?>img/shu.png" /></li>
                <li><a href="<?php echo $url."index.php/welcome/about";?>"><span class="top">关于我们</span><span class="bottom">About</span></a></li>            
            </ul>
            <div id="login">
            	<p>
                	<a href="javascript:return void(0);" class="btnlogin"><img id="join"  src="<?php echo "$url";?>img/join.png"/></a>
                    <a href="javascript:void(0);" style="color:red;position:absolute; " class="btnlogin">注册</a>
                    <a href="javascript:void(0);" style="color:white; left:160px;position:absolute;" class="btnfogot">忘记密码</a></p>
                <p><input type="text" size="10" /> <input type="text" size="10"/> <input type="button" value="登录" onclick="window.location.href='/upload.htm'"/> </p>
            </div>
            <div id="search">    
                <div id="searchbox">
                    <input type="text" size="12"><a href="#"></a>
                </div>
            </div>
            <hr />
         </div>
    </div>
    
    <center>